package com.example.module.user.form;


import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * @author ghy
 * @date 2025/08/06
 * @description 用户删除表单
 */
@Data
public class UserDeleteForm {
    /*
     * 用户ID
     * */
    @NotBlank(message = "用户ID不能为空")
    private Long userId;

    /*
     * Getter & Setter
     * */

    public @NotBlank(message = "用户ID不能为空") Long getUserId() {
        return userId;
    }

    public void setUserId(@NotBlank(message = "用户ID不能为空") Long userId) {
        this.userId = userId;
    }
}
